package com.yuri.demo.ui.page

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import androidx.navigation.NavController


@Composable
fun PageThreeScreen(navController: NavController) {
    Column(
        modifier = Modifier.fillMaxSize()
            .background(Color.White),
    ) {
        Text(text = "Page Three")
        Spacer(modifier = Modifier.height(20.dp))
        Button(onClick = {
            navController.navigateUp()
        }) {
            Text(text = "Back",
                modifier = Modifier.fillMaxWidth(),
                textAlign = TextAlign.Center)
        }
    }
}